package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author chenm
 * @create 2019-11-22 15:20
 */

public class RoleStation extends BasePojo {

  @Id
  @Column(name="role_station_id",insertable=false)
  private Integer roleStationId;

  private Integer roleId;

  private Integer stationId;

  private String remark;

  private Integer dataState;

  /*创建时间*/
  private Date createDate;

  /*更改时间*/
  private Date modifyDate;

  public Integer getRoleStationId() {
    return roleStationId;
  }

  public void setRoleStationId(Integer roleStationId) {
    this.roleStationId = roleStationId;
  }

  public Integer getRoleId() {
    return roleId;
  }

  public void setRoleId(Integer roleId) {
    this.roleId = roleId;
  }

  public Integer getStationId() {
    return stationId;
  }

  public void setStationId(Integer stationId) {
    this.stationId = stationId;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark== null ? null : remark.trim().replace(" ","");
  }

  public Integer getDataState() {
    return dataState;
  }

  public void setDataState(Integer dataState) {
    this.dataState = dataState;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public Date getModifyDate() {
    return modifyDate;
  }

  public void setModifyDate(Date modifyDate) {
    this.modifyDate = modifyDate;
  }
}
